package com.xkdx.guangguang.fragment.home.homedetail;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.guangguang.module.network.AbsAction;

public class HomeDetailAction extends AbsAction {
	String infoID;

	public HomeDetailAction(String infoID) {
		this.infoID = infoID;
	}

	@Override
	public void constructRequest() {
		HashMap<String, String> map = new HashMap<String, String>();
		map.put("DeviceID", "2");
		map.put("InfoID", infoID);
		String json = constructJson(map);
		Parameter parameter = new Parameter("informationInterface", "getInfoDetail", json);

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);

	}

}
